package com.zut.hospital.controller.pharmacy;

import com.zut.hospital.service.pharmacy.InventoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.text.ParseException;

/**
 * @program: hos-test
 * @description:
 * @author: 杨曼珍
 * @create: 2019-07-02 11:48
 **/
@Controller
@RequestMapping("/hospital")
public class InventoryController {
@Autowired
    InventoryService inventoryService;

    @ResponseBody
    @RequestMapping(value = "/inv/zhi")

    public String zhi() {
        return inventoryService.zhi();
    }
}
